package org.jeecg.modules.demo.pcl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: sms_send_log
 * @Author: jeecg-boot
 * @Date:   2025-09-25
 * @Version: V1.0
 */
@Data
@TableName("sms_send_log")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sms_send_log对象", description="sms_send_log")
public class SmsSendLog implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**接收短信的手机号*/
	@Excel(name = "接收短信的手机号", width = 15)
    @ApiModelProperty(value = "接收短信的手机号")
    private String phoneNumber;
	/**阿里云短信模板 ID*/
	@Excel(name = "阿里云短信模板 ID", width = 15)
    @ApiModelProperty(value = "阿里云短信模板 ID")
    private String templateCode;
	/**短信签名*/
	@Excel(name = "短信签名", width = 15)
    @ApiModelProperty(value = "短信签名")
    private String signName;
	/**短信模板参数（JSON 格式）*/
	@Excel(name = "短信模板参数（JSON 格式）", width = 15)
    @ApiModelProperty(value = "短信模板参数（JSON 格式）")
    private String templateParam;
	/**短信内容*/
	@Excel(name = "短信内容", width = 15)
    @ApiModelProperty(value = "短信内容")
    private String content;
	/**阿里云返回的 bizId*/
	@Excel(name = "阿里云返回的 bizId", width = 15)
    @ApiModelProperty(value = "阿里云返回的 bizId")
    private String bizId;
	/**发送状态：0-待发送，1-发送成功，2-发送失败*/
	@Excel(name = "发送状态：0-待发送，1-发送成功，2-发送失败", width = 15)
    @ApiModelProperty(value = "发送状态：0-待发送，1-发送成功，2-发送失败")
    private Integer sendStatus;
	/**发送时间*/
	@Excel(name = "发送时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "发送时间")
    private Date sendTime;
	/**阿里云返回的状态码*/
	@Excel(name = "阿里云返回的状态码", width = 15)
    @ApiModelProperty(value = "阿里云返回的状态码")
    private String responseCode;
	/**阿里云返回的状态描述*/
	@Excel(name = "阿里云返回的状态描述", width = 15)
    @ApiModelProperty(value = "阿里云返回的状态描述")
    private String responseMsg;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**记录创建时间*/
	@Excel(name = "记录创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "记录创建时间")
    private Date createdAt;
	/**记录更新时间*/
	@Excel(name = "记录更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "记录更新时间")
    private Date updatedAt;
}
